<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="exporter-version" content=mNote Mac 2.4.10"/><meta name="created" content="2013-07-29T14:14:50Z"/><meta name="updated" content="2013-07-29T14:14:50Z"/><title>修改raspbian的源，加速apt-get</title></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>
<i style="border: 0px none rgb(153, 153, 153); color: rgb(153, 153, 153); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 32px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 32px; margin: 0px 0px -30px; outline: rgb(153, 153, 153) none 0px; padding: 0px; text-align: center; text-decoration: initial; width: 757px; word-wrap: break-word;"> 本帖最后由 hanchao 于 2012-12-15 23:47 编辑 </i><br>
<br>
使用了一天Raspberry Pi ，发现aspbian系统下载程序实在是慢的无法接受了。今天终于找到一些镜像的源。<br>
具体可见<br>
http://www.raspbian.org/RaspbianMirrors<br>
<br>
国内用户推荐使用这两个，我这里测试第一个速度在还可以。第二个是清华大学的，好多人都说不给力，教育网的同学们可以试试。<br>
Asia&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Singapore&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;NUS School of Computing SigLabs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;http://mirror.nus.edu.sg/raspbian/raspbian<br>
Asia&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;China&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Tsinghua University Network Administrators&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/<br>
<br>
更新源的方法<br>
备份之前的源文件<br>
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bk<br>
更新源<br>
sudo vi /etc/apt/sources.list<br>
将默认地址替换成上面的地址<br>

<ignore_js_op style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">

<img id="aimg_13061" aid="13061" src="http://files.note.sdo.com/M5cEN~kg7DWVnM24s00NxP" zoomfile="forum.php?mod=attachment&amp;aid=MTMwNjF8MmViYTcwZjF8MTM1OTA3OTM3M3wwfDQ5ODA%3D&amp;noupdate=yes&amp;nothumb=yes" file="forum.php?mod=attachment&amp;aid=MTMwNjF8MmViYTcwZjF8MTM1OTA3OTM3M3wwfDQ5ODA%3D&amp;noupdate=yes" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="570" inpost="1" alt="屏幕快照 2012-12-15 下午11.46.04.png" title="屏幕快照 2012-12-15 下午11.46.04.png" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" style="width: 570px; height: 365px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;" lazyloaded="true" _load="1">

<div style="position: absolute; display: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(254, 254, 233); background-size: auto; border: 1px solid rgb(177, 177, 177); color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 10px; text-decoration: initial; width: 260px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; float: right; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">2012-12-15 23:46 上传</div>
<a href="http://www.eeboard.com/bbs/forum.php?mod=attachment&amp;aid=MTMwNjF8MmViYTcwZjF8MTM1OTA3OTM3M3wwfDQ5ODA%3D&amp;nothumb=yes" title="屏幕快照 2012-12-15 下午11.46.04.png 下载次数:0" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: underline; word-wrap: break-word;"><strong style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">下载附件</strong> <span style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: 14px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">(32.05 KB)</span></a>

</div>
<div style="background-image: url(http://www.eeboard.com/bbs/static/image/common/tip_bottom.png); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); bottom: -6px; color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 6px; left: 5px; margin: 0px; outline: rgb(68, 68, 68) none 0px; overflow: hidden; padding: 0px; position: absolute; text-decoration: initial; width: 11px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"></div>
</div>

</ignore_js_op>
<br>
更新源信息<br>
sudo apt-get update<br>
<br>
接下来就可以下载软件咯<br>
sudo apt-get install tightvncserver<br>
<br>
昨天一天没下载完成，现在一会就下好了。<img class="s" src="http://files.note.sdo.com/M5cEN~kg7DWVnM24s00NxN" smilieid="soso_e142" border="0" alt="" style="width: 24px; height: 24px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;"><br>
远程连接成功啦<br>

<ignore_js_op style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">

<div style="width: 600px; height: 100px; background-image: url(http://www.eeboard.com/bbs/static/image/common/loading.gif); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word; background-position: 50% 50%; background-repeat: no-repeat no-repeat;"></div><img id="aimg_12868" aid="12868" src="http://files.note.sdo.com/M5cEN~kg7DWVnM24s00NxR" zoomfile="forum.php?mod=attachment&amp;aid=MTI4Njh8MzBkNzkxODN8MTM1OTA3OTM3M3wwfDQ5ODA%3D&amp;noupdate=yes&amp;nothumb=yes" file="forum.php?mod=attachment&amp;aid=MTI4Njh8MzBkNzkxODN8MTM1OTA3OTM3M3wwfDQ5ODA%3D&amp;noupdate=yes" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" alt="屏幕快照 2012-12-11 下午9.40.58.png" title="屏幕快照 2012-12-11 下午9.40.58.png" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" style="height: 1px; width: 1px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;" lazyloaded="true">

<div style="position: absolute; display: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(254, 254, 233); background-size: auto; border: 1px solid rgb(177, 177, 177); color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 10px; text-decoration: initial; width: 260px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; float: right; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">2012-12-11 21:42 上传</div>
<a href="http://www.eeboard.com/bbs/forum.php?mod=attachment&amp;aid=MTI4Njh8MzBkNzkxODN8MTM1OTA3OTM3M3wwfDQ5ODA%3D&amp;nothumb=yes" title="屏幕快照 2012-12-11 下午9.40.58.png 下载次数:0" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: underline; word-wrap: break-word;"><strong style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">下载附件</strong> <span style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: 14px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">(390.79 KB)</span></a>

</div>
<div style="background-image: url(http://www.eeboard.com/bbs/static/image/common/tip_bottom.png); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); bottom: -6px; color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 6px; left: 5px; margin: 0px; outline: rgb(68, 68, 68) none 0px; overflow: hidden; padding: 0px; position: absolute; text-decoration: initial; width: 11px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"></div>
</div>

</ignore_js_op>
</div><div><a href="thread-4980-1-1.html" style="border: 0px none rgb(51, 51, 51); color: rgb(51, 51, 51); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 16px; line-height: normal; font-family: 'Microsoft Yahei', Hei, Tahoma, SimHei, sans-serif; outline: rgb(51, 51, 51) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">【分享】</a></div></body></html>